package com.example.motion;

import org.jbox2d.common.Vec2;

/**
 * Created by Lucas on 17/06/13.
 */
public interface Touchable {
    /**
     * return if an object is touched
     * @param touch the input touching point
     * @return
     */
    public boolean isTouched(Vec2 touch);

    /**
     * return if an object is touched
     * @param x
     * @param y
     * @return
     */
    public boolean isTouched(float x, float y);
}
